<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Get dog's name</title>
</head>
<body>
	<%-- el -> expression language --%>
	use "." to get dog's name :<br />
	${personDog.name }'s dog's name is ${personDog.dog.name }
	<br /><br />
	use "[]" to get dog's name :<br />
	${personDog["name"] }'s dog's name is ${personDog["dog"]["name"] }
	<br /><br />
	get second dog's name :<br />
	${dogs[1]["name"] }
	<br />
	${dogs }
	<br /><br />
	${map["dog1"] }<br />
	attri is map, use another attri to get the map :<br />
	${map[dog1] }<br />
	${map[dog1] }
	<br /><br />
	The text for page 386 :<br />
	${person["name"] }'s dog ${person["dog"]["name"] }'s toys are: ${person["dog"]["toys"][0] }, ${person["dog"]["toys"][1] }, and ${person["dog"]["toys"][2] }
	<br />
	${person.name }'s dog ${person.dog.name }'s toys are: ${person.dog.toys[0].name }, ${person.dog.toys[1].name }, and ${person.dog.toys[2].name }
	<br /><br />
	${header.host }
	
</body>
</html>